package com.mayuanfei.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 实现controller
 *
 * @author 老马
 * @date 2023-03-20 09:36
 */
@Controller
@RequestMapping("/laoma")
public class MyController {
    @RequestMapping("/first")
    public String first() {
        System.out.println("hello world");
        return "first";
    }
}